<script setup lang="ts">
import Message from "@/components/message";
const show = () => {
  // Message({ type: "success", content: "登录成功" });
  // Message.success("登录成功");
  // Message.error("我是一个错误的提示");
  Message.warning("我是一个警告");
};
</script>

<template>
  <button @click="show">显示</button>
</template>

<style scoped></style>
